#ifndef FINDSUCCESSDLG_H
#define FINDSUCCESSDLG_H

#include <QDialog>
#include <searchlist.h>
namespace Ui {
class FindSuccessDlg;
}

class FindSuccessDlg : public QDialog
{
    Q_OBJECT

 public:
     explicit FindSuccessDlg(QWidget *parent = nullptr);
     ~FindSuccessDlg();
     void SetSearchInfo(std::shared_ptr<SearchInfo> si);
 private slots:
     void on_add_friend_btn_clicked();

 private:
     Ui::FindSuccessDlg *ui;
     // 缓存一下父类，可能以后会传递数据给父类
     QWidget * _parent;
     std::shared_ptr<SearchInfo> _si;
};

#endif // FINDSUCCESSDLG_H
